<?php $this->load->view("general/header");?>
<div id="search_result" class="page_">
    <div class="form">            	
    	<div class="form_header">Edit News</div>
        <div class="content_data">
            <form method="post" action="<?php echo base_url();?>system/about" enctype="multipart/form-data">
                Title: <input type="text" name="title" /><br /><br />
                Short Description: <br />
                <textarea name="name" id="elm1" cols="80" rows="20"></textarea><br />
                Long Description: <br />
                <textarea name="name" id="elm2" cols="80" rows="20"></textarea><br />
                Image: <input type="file" name="image" /><br />
                Old Image : <img src="<?php echo base_url();?>" /><br />
                <input type="submit" name="btnSave" value="Save" class="button_red" />
            </form>
            <div class="success"><?php echo (isset($pesan))?$pesan:"";?></div>
		</div>
        <div class="form_header">News List</div>
        <div class="filter">
        	Sort By : <select id="sort_by">
                    <option value="news_title">Title</option>
            		<option value="update_date">Update Date</option>
            		<option value="is_published">Published</option>
                </select>
                <select id="type_sort">
                	<option value="asc">Asc</option>
                    <option value="desc">Desc</option>
                </select>
                <input type="button" id="btnFilter" value="Filter" class="button_red" />
        </div>
        <div class="search_previous_order">
			Search News : <input type="text" id="search_news_list" />
        </div>
        
        <div id="content_news_list">
        	<div class="title col0">Title</div>
        	<div class="title col1">Admin</div>
            <div class="title col2">Update Date</div>
            <div class="title col3">Published</div>
            
            <!-- perulangan -->
            <div class="odd">
            	<div class="col0">Trans. Code</div>
                <div class="col1">Product Name</div>
                <div class="col2">2012-11-11 18:18:18</div>
                <div class="col3">Price</div>
                <div class="col4"><a href="<?php echo base_url();?>admin/news/edit/news_id" class="button_red">edit</a></div>
            </div>
            <div class="even">
            	<div class="col0">Trans. Code</div>
                <div class="col1">Product Name</div>
                <div class="col2">Order Date</div>
                <div class="col3">Price</div>
                <div class="col4"><a href="<?php echo base_url();?>admin/news/edit/news_id" class="button_red">edit</a></div>
			</div>
            <!-- akhir perulangan -->
            <div class="clear"></div>
            <div class="paging"><a href="">1</a><strong>2</strong></div>
        </div>
    </div>
</div>
<?php $this->load->view("general/footer");?>